package com.wntms.gps.service;

import com.wntms.gps.pojo.FreightLine;

import java.util.List;

/**
 * 货运单路线Service接口
 * 
 * @author group 4
 * @date 2022-11-22
 */
public interface IFreightLineService 
{
    /**
     * 查询货运单路线
     * 
     * @param id 货运单路线主键
     * @return 货运单路线
     */
    public FreightLine selectFreightLineById(Long id);

    /**
     * 查询货运单路线列表
     * 
     * @param freightLine 货运单路线
     * @return 货运单路线集合
     */
    public List<FreightLine> selectFreightLineList(FreightLine freightLine);

    /**
     * 新增货运单路线
     * 
     * @param freightLine 货运单路线
     * @return 结果
     */
    public int insertFreightLine(FreightLine freightLine);

    /**
     * 修改货运单路线
     * 
     * @param freightLine 货运单路线
     * @return 结果
     */
    public int updateFreightLine(FreightLine freightLine);

    /**
     * 批量删除货运单路线
     * 
     * @param ids 需要删除的货运单路线主键集合
     * @return 结果
     */
    public int deleteFreightLineByIds(Long[] ids);

    /**
     * 删除货运单路线信息
     * 
     * @param id 货运单路线主键
     * @return 结果
     */
    public int deleteFreightLineById(Long id);
}
